LMB: Fix undefined lmb_reserve() on non-lmb platforms
authorMarek Vasut <[email protected]>
Sun, 1 Apr 2012 03:59:46 +0000 (03:59 +0000)
committerMarek Vasut <[email protected]>
Mon, 2 Apr 2012 13:54:53 +0000 (15:54 +0200)
Signed-off-by: Marek Vasut <[email protected]>
Cc: Wolfgang Denk <[email protected]>
Cc: Mike Frysinger <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Tom Warren <[email protected]>
Cc: Graeme Russ <[email protected]>
Acked-by: Mike Frysinger <[email protected]>
common/cmd_bootm.c

index 9ad2535d4bacc7fe6831c4c9838608ce5f16ffd2..5685232892a647aa221e5af381dfbb84ceb65632 100644 (file)
@@ -186,6 +186,7 @@ static void boot_start_lmb(bootm_headers_t *images)
        board_lmb_reserve(&images->lmb);
 }
 #else
+#define lmb_reserve(lmb, base, size)
 static inline void boot_start_lmb(bootm_headers_t *images) { }
 #endif